change hint text color flutter

50

TextField(
  style: TextStyle(color: Colors.red),
  decoration: InputDecoration(fillColor: Colors.orange, filled: true),
)
TextField(
        decoration: InputDecoration(
          hintText: "Password",
          hintStyle: TextStyle(fontSize: 20.0, color: Colors.redAccent),
        ),
      ),
TextField(
  style: TextStyle(color: Colors.white),
  ...
)

Comments

Submit
0 Comments